package com.studyadmin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import com.studyadmin.dto.StuLearningSituation;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 章节表
 * </p>
 *
 * @author lyl
 * @since 2023-03-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Chapter implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 章节主键id
     */
      @TableId(value = "cha_id", type = IdType.AUTO)
    private Integer chaId;

    /**
     * 课程id
     */
    private Integer courseId;

    /**
     * 章节标题
     */
    private String chaName;

    /**
     * 是否完成，1 未完成 2以完成
     */
    private Integer chaState;


}
